<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <div class="soubg">
        <div class="sou">
            <!--Begin 所在收货地区 Begin-->
            <span class="s_city_b">
        	<span class="fl">送货至：</span>
            <span class="s_city">
            	<span>四川</span>
                <div class="s_city_bg">
                  <div class="s_city_t"></div>
                  <div class="s_city_c">
                    <h2>请选择所在的收货地区</h2>
                    <table border="0" class="c_tab" style="width:235px; margin-top:10px;" cellspacing="0" cellpadding="0">
                      <tr>
                        <th>A</th>
                        <td class="c_h"><span>安徽</span><span>澳门</span></td>
                      </tr>
                      <tr>
                        <th>B</th>
                        <td class="c_h"><span>北京</span></td>
                      </tr>
                      <tr>
                        <th>C</th>
                        <td class="c_h"><span>重庆</span></td>
                      </tr>
                      <tr>
                        <th>F</th>
                        <td class="c_h"><span>福建</span></td>
                      </tr>
                      <tr>
                        <th>G</th>
                        <td class="c_h"><span>广东</span><span>广西</span><span>贵州</span><span>甘肃</span></td>
                      </tr>
                      <tr>
                        <th>H</th>
                        <td class="c_h"><span>河北</span><span>河南</span><span>黑龙江</span><span>海南</span><span>湖北</span><span>湖南</span></td>
                      </tr>
                      <tr>
                        <th>J</th>
                        <td class="c_h"><span>江苏</span><span>吉林</span><span>江西</span></td>
                      </tr>
                      <tr>
                        <th>L</th>
                        <td class="c_h"><span>辽宁</span></td>
                      </tr>
                      <tr>
                        <th>N</th>
                        <td class="c_h"><span>内蒙古</span><span>宁夏</span></td>
                      </tr>
                      <tr>
                        <th>Q</th>
                        <td class="c_h"><span>青海</span></td>
                      </tr>
                      <tr>
                        <th>S</th>
                        <td class="c_h"><span>上海</span><span>山东</span><span>山西</span><span class="c_check">四川</span><span>陕西</span></td>
                      </tr>
                      <tr>
                        <th>T</th>
                        <td class="c_h"><span>台湾</span><span>天津</span></td>
                      </tr>
                      <tr>
                        <th>X</th>
                        <td class="c_h"><span>西藏</span><span>香港</span><span>新疆</span></td>
                      </tr>
                      <tr>
                        <th>Y</th>
                        <td class="c_h"><span>云南</span></td>
                      </tr>
                      <tr>
                        <th>Z</th>
                        <td class="c_h"><span>浙江</span></td>
                      </tr>
                    </table>
                  </div>
                </div>
            </span>
        </span>
            <!--End 所在收货地区 End-->
            <span class="fr">

            <span class="fl">你好，请<a href="gologin"  style="color:#ff4e00;">登录</a>&nbsp;<a href="goRegist" style="color:#ff4e00;">免费注册</a>&nbsp;&nbsp;</span>




        </span>
        </div>
    </div>
    <div id="fade1" class="black_overlay"></div>
    <div id="MyDiv1" class="white_content">
        <div class="white_d">
            <div class="notice_t">
                <span class="fr" style="margin-top:10px; cursor:pointer;" onclick="CloseDiv_1('MyDiv1','fade1')"><img src="/EasyBuy/statics/images/close.gif" /></span>
            </div>
            <div class="notice_c">
                <table border="0" align="center" cellspacing="0" cellpadding="0">
                    <tr valign="top">
                        <td width="40"><img src="/EasyBuy/statics/images/suc.png"></td>
                        <td>
                            <span style="color:#3e3e3e; font-size:18px; font-weight:bold;" id="showMessage">操作成功</span><br />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
	<link type="text/css" rel="stylesheet" href="http://127.0.0.1:8081/css/style.css" />
    <!--[if IE 6]>
    <script src="../static/js/iepng.js" type="text/javascript"></script>
    <script type="text/javascript">
        EvPNG.fix('div, ul, img, li, input, a');
    </script>
    <![endif]-->    
    <script type="text/javascript" src="http://127.0.0.1:8081/js/jquery-1.11.1.min_044d0927.js"></script>
	<script type="text/javascript" src="http://127.0.0.1:8081/js/jquery.bxslider_e88acd1b.js"></script>
    
    <script type="text/javascript" src="http://127.0.0.1:8081/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="http://127.0.0.1:8081/js/menu.js"></script>
        
	<script type="text/javascript" src="http://127.0.0.1:8081/js/select.js"></script>
    
	<script type="text/javascript" src="http://127.0.0.1:8081/js/lrscroll.js"></script>
    
    <script type="text/javascript" src="http://127.0.0.1:8081/js/iban.js"></script>
    <script type="text/javascript" src="http://127.0.0.1:8081/js/fban.js"></script>
    <script type="text/javascript" src="http://127.0.0.1:8081/js/f_ban.js"></script>
    <script type="text/javascript" src="http://127.0.0.1:8081/js/mban.js"></script>
    <script type="text/javascript" src="http://127.0.0.1:8081/js/bban.js"></script>
    <script type="text/javascript" src="http://127.0.0.1:8081/js/hban.js"></script>
    <script type="text/javascript" src="http://127.0.0.1:8081/js/tban.js"></script>
    
	<script type="text/javascript" src="http://127.0.0.1:8081/js/lrscroll_1.js"></script>
    
    
<title>易买网登录页面</title>
</head>
<body>
<!--Begin Login Begin-->
<div class="log_bg">
    <div class="top">
        <div class="logo"><a href="/EasyBuy/Home?action=index"><img src="http://127.0.0.1:8070/logo.png" /></a></div>
    </div>
    <div class="login">
        <div class="log_img"><img src="http://127.0.0.1:8070/l_img.png" width="611" height="425" /></div>
        <div class="log_c">
            <form onsubmit="return yanzh();" action="login" method="post" >
                <table border="0" style="width:370px; font-size:14px; margin-top:30px;" cellspacing="0" cellpadding="0">
                    <tr height="50" valign="top">
                        <td width="55">&nbsp;</td>
                        <td>
                            <span class="fl" style="font-size:24px;">登录</span>
                            <span class="fr">还没有商城账号，<a href="goRegist" style="color:#ff4e00;">立即注册</a></span>
                        </td>
                    </tr>
                    <tr height="70">
                        <td>用户名</td>
                        <td><input type="text" name="loginName" id="loginName" value="" class="l_user"  required /></td>
                    </tr>
                    <tr height="70">
                        <td>密&nbsp; &nbsp; 码</td>
                        <td><input type="password" name="password" id="password" value="" class="l_pwd" minlength="3" required/></td>
                    </tr>
                    <tr height="70">
                        <td>验证码</td>
                        <td><input type="text" name="codeImage" id="codeImage" value="" class="l_pwd" required/><img th:src="'http://127.0.0.1:8070/'+${codeImage}+'.jpg'">
                            <input type="hidden" id="codeImage2" th:value="${codeImage}"/><a href="gologin">&nbsp;换一张</a>
                        </td>
                    </tr>
                    <tr height="60">
                        <td>&nbsp;</td>
                        <td><input type="submit" value="登录" class="log_btn" onclick="login();" /></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
<!--End Login End--> 
<!--Begin Footer Begin-->
<div class="btmbg">
    <div class="btm">
        备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com   Copyright © 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br />
        <img src="http://127.0.0.1:8070/b_1.gif" width="98" height="33" /><img src="http://127.0.0.1:8070/b_2.gif" width="98" height="33" /><img src="http://127.0.0.1:8070/b_3.gif" width="98" height="33" /><img src="http://127.0.0.1:8070/b_4.gif" width="98" height="33" /><img src="http://127.0.0.1:8070/b_5.gif" width="98" height="33" /><img src="http://127.0.0.1:8070/b_6.gif" width="98" height="33" />
    </div>    	
</div>
<!--End Footer End -->    

</body>


<!--[if IE 6]>
<script src="http://127.0.0.1:8081/js/zh_CN.js"></script>
<![endif]-->
<script type="text/javascript" th:inline="javascript">
    function yanzh() {
        var loginName=jQuery("#loginName").val();
        var password=jQuery("#password").val();
        var codeImage=jQuery("#codeImage").val();
        var codeImage2=jQuery("#codeImage2").val();
        // alert(codeImage);
        // alert(codeImage2);

        // jQuery.ajaxSetup({   //设置为同步
        //     async : false
        // });
        if (codeImage.toLowerCase()==codeImage2.toLowerCase()) {
            //fla=false;
            alert("true");
            return (true);
        }else{
            alert("验证码输入错误，请重新输入！");
            return (false);
            //fla=true;
        }


    }

</script>



</html>
